package cn.youwan.market.utils;

import java.util.ArrayList;
import java.util.List;

import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;

import cn.youwan.market.http.YouwanSession;


public class SessionUtils {

	public static List<NameValuePair> getHeader() {
		List<NameValuePair> nvs = new ArrayList<NameValuePair>();
		YouwanSession session = YouwanSession.getYangSession(null);
		nvs.add(new BasicNameValuePair("uid", session.getUserKey()));
		nvs.add(new BasicNameValuePair("ver", session.getVerName()));
		nvs.add(new BasicNameValuePair("imei", session.getImea()));
		nvs.add(new BasicNameValuePair("chid", session.getSource()));
		nvs.add(new BasicNameValuePair("product", "Yang"));
		return nvs;
	}
}
